package com.xingkeduo.model.example;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TMarketingCouponBagExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TMarketingCouponBagExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIsNull() {
            addCriterion("marketing_type is null");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIsNotNull() {
            addCriterion("marketing_type is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeEqualTo(Integer value) {
            addCriterion("marketing_type =", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotEqualTo(Integer value) {
            addCriterion("marketing_type <>", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeGreaterThan(Integer value) {
            addCriterion("marketing_type >", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("marketing_type >=", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeLessThan(Integer value) {
            addCriterion("marketing_type <", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeLessThanOrEqualTo(Integer value) {
            addCriterion("marketing_type <=", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIn(List<Integer> values) {
            addCriterion("marketing_type in", values, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotIn(List<Integer> values) {
            addCriterion("marketing_type not in", values, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeBetween(Integer value1, Integer value2) {
            addCriterion("marketing_type between", value1, value2, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("marketing_type not between", value1, value2, "marketingType");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSubTitleIsNull() {
            addCriterion("sub_title is null");
            return (Criteria) this;
        }

        public Criteria andSubTitleIsNotNull() {
            addCriterion("sub_title is not null");
            return (Criteria) this;
        }

        public Criteria andSubTitleEqualTo(String value) {
            addCriterion("sub_title =", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleNotEqualTo(String value) {
            addCriterion("sub_title <>", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleGreaterThan(String value) {
            addCriterion("sub_title >", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleGreaterThanOrEqualTo(String value) {
            addCriterion("sub_title >=", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleLessThan(String value) {
            addCriterion("sub_title <", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleLessThanOrEqualTo(String value) {
            addCriterion("sub_title <=", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleLike(String value) {
            addCriterion("sub_title like", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleNotLike(String value) {
            addCriterion("sub_title not like", value, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleIn(List<String> values) {
            addCriterion("sub_title in", values, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleNotIn(List<String> values) {
            addCriterion("sub_title not in", values, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleBetween(String value1, String value2) {
            addCriterion("sub_title between", value1, value2, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSubTitleNotBetween(String value1, String value2) {
            addCriterion("sub_title not between", value1, value2, "subTitle");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsIsNull() {
            addCriterion("support_marketing_ids is null");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsIsNotNull() {
            addCriterion("support_marketing_ids is not null");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsEqualTo(String value) {
            addCriterion("support_marketing_ids =", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsNotEqualTo(String value) {
            addCriterion("support_marketing_ids <>", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsGreaterThan(String value) {
            addCriterion("support_marketing_ids >", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsGreaterThanOrEqualTo(String value) {
            addCriterion("support_marketing_ids >=", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsLessThan(String value) {
            addCriterion("support_marketing_ids <", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsLessThanOrEqualTo(String value) {
            addCriterion("support_marketing_ids <=", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsLike(String value) {
            addCriterion("support_marketing_ids like", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsNotLike(String value) {
            addCriterion("support_marketing_ids not like", value, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsIn(List<String> values) {
            addCriterion("support_marketing_ids in", values, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsNotIn(List<String> values) {
            addCriterion("support_marketing_ids not in", values, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsBetween(String value1, String value2) {
            addCriterion("support_marketing_ids between", value1, value2, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andSupportMarketingIdsNotBetween(String value1, String value2) {
            addCriterion("support_marketing_ids not between", value1, value2, "supportMarketingIds");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeIsNull() {
            addCriterion("coupon_bag_type is null");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeIsNotNull() {
            addCriterion("coupon_bag_type is not null");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeEqualTo(Integer value) {
            addCriterion("coupon_bag_type =", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeNotEqualTo(Integer value) {
            addCriterion("coupon_bag_type <>", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeGreaterThan(Integer value) {
            addCriterion("coupon_bag_type >", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("coupon_bag_type >=", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeLessThan(Integer value) {
            addCriterion("coupon_bag_type <", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeLessThanOrEqualTo(Integer value) {
            addCriterion("coupon_bag_type <=", value, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeIn(List<Integer> values) {
            addCriterion("coupon_bag_type in", values, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeNotIn(List<Integer> values) {
            addCriterion("coupon_bag_type not in", values, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeBetween(Integer value1, Integer value2) {
            addCriterion("coupon_bag_type between", value1, value2, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andCouponBagTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("coupon_bag_type not between", value1, value2, "couponBagType");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdIsNull() {
            addCriterion("third_biz_id is null");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdIsNotNull() {
            addCriterion("third_biz_id is not null");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdEqualTo(String value) {
            addCriterion("third_biz_id =", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdNotEqualTo(String value) {
            addCriterion("third_biz_id <>", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdGreaterThan(String value) {
            addCriterion("third_biz_id >", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdGreaterThanOrEqualTo(String value) {
            addCriterion("third_biz_id >=", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdLessThan(String value) {
            addCriterion("third_biz_id <", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdLessThanOrEqualTo(String value) {
            addCriterion("third_biz_id <=", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdLike(String value) {
            addCriterion("third_biz_id like", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdNotLike(String value) {
            addCriterion("third_biz_id not like", value, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdIn(List<String> values) {
            addCriterion("third_biz_id in", values, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdNotIn(List<String> values) {
            addCriterion("third_biz_id not in", values, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdBetween(String value1, String value2) {
            addCriterion("third_biz_id between", value1, value2, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andThirdBizIdNotBetween(String value1, String value2) {
            addCriterion("third_biz_id not between", value1, value2, "thirdBizId");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertIsNull() {
            addCriterion("is_open_convert is null");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertIsNotNull() {
            addCriterion("is_open_convert is not null");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertEqualTo(Integer value) {
            addCriterion("is_open_convert =", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertNotEqualTo(Integer value) {
            addCriterion("is_open_convert <>", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertGreaterThan(Integer value) {
            addCriterion("is_open_convert >", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_open_convert >=", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertLessThan(Integer value) {
            addCriterion("is_open_convert <", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertLessThanOrEqualTo(Integer value) {
            addCriterion("is_open_convert <=", value, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertIn(List<Integer> values) {
            addCriterion("is_open_convert in", values, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertNotIn(List<Integer> values) {
            addCriterion("is_open_convert not in", values, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertBetween(Integer value1, Integer value2) {
            addCriterion("is_open_convert between", value1, value2, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andIsOpenConvertNotBetween(Integer value1, Integer value2) {
            addCriterion("is_open_convert not between", value1, value2, "isOpenConvert");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeIsNull() {
            addCriterion("receive_type is null");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeIsNotNull() {
            addCriterion("receive_type is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeEqualTo(Integer value) {
            addCriterion("receive_type =", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeNotEqualTo(Integer value) {
            addCriterion("receive_type <>", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeGreaterThan(Integer value) {
            addCriterion("receive_type >", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("receive_type >=", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeLessThan(Integer value) {
            addCriterion("receive_type <", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeLessThanOrEqualTo(Integer value) {
            addCriterion("receive_type <=", value, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeIn(List<Integer> values) {
            addCriterion("receive_type in", values, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeNotIn(List<Integer> values) {
            addCriterion("receive_type not in", values, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeBetween(Integer value1, Integer value2) {
            addCriterion("receive_type between", value1, value2, "receiveType");
            return (Criteria) this;
        }

        public Criteria andReceiveTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("receive_type not between", value1, value2, "receiveType");
            return (Criteria) this;
        }

        public Criteria andStockQuantityIsNull() {
            addCriterion("stock_quantity is null");
            return (Criteria) this;
        }

        public Criteria andStockQuantityIsNotNull() {
            addCriterion("stock_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andStockQuantityEqualTo(Integer value) {
            addCriterion("stock_quantity =", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityNotEqualTo(Integer value) {
            addCriterion("stock_quantity <>", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityGreaterThan(Integer value) {
            addCriterion("stock_quantity >", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("stock_quantity >=", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityLessThan(Integer value) {
            addCriterion("stock_quantity <", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("stock_quantity <=", value, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityIn(List<Integer> values) {
            addCriterion("stock_quantity in", values, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityNotIn(List<Integer> values) {
            addCriterion("stock_quantity not in", values, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityBetween(Integer value1, Integer value2) {
            addCriterion("stock_quantity between", value1, value2, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andStockQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("stock_quantity not between", value1, value2, "stockQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityIsNull() {
            addCriterion("surplus_quantity is null");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityIsNotNull() {
            addCriterion("surplus_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityEqualTo(Integer value) {
            addCriterion("surplus_quantity =", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityNotEqualTo(Integer value) {
            addCriterion("surplus_quantity <>", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityGreaterThan(Integer value) {
            addCriterion("surplus_quantity >", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("surplus_quantity >=", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityLessThan(Integer value) {
            addCriterion("surplus_quantity <", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("surplus_quantity <=", value, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityIn(List<Integer> values) {
            addCriterion("surplus_quantity in", values, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityNotIn(List<Integer> values) {
            addCriterion("surplus_quantity not in", values, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityBetween(Integer value1, Integer value2) {
            addCriterion("surplus_quantity between", value1, value2, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andSurplusQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("surplus_quantity not between", value1, value2, "surplusQuantity");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeIsNull() {
            addCriterion("receive_start_time is null");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeIsNotNull() {
            addCriterion("receive_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeEqualTo(Date value) {
            addCriterion("receive_start_time =", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeNotEqualTo(Date value) {
            addCriterion("receive_start_time <>", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeGreaterThan(Date value) {
            addCriterion("receive_start_time >", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("receive_start_time >=", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeLessThan(Date value) {
            addCriterion("receive_start_time <", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("receive_start_time <=", value, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeIn(List<Date> values) {
            addCriterion("receive_start_time in", values, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeNotIn(List<Date> values) {
            addCriterion("receive_start_time not in", values, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeBetween(Date value1, Date value2) {
            addCriterion("receive_start_time between", value1, value2, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("receive_start_time not between", value1, value2, "receiveStartTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeIsNull() {
            addCriterion("receive_end_time is null");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeIsNotNull() {
            addCriterion("receive_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeEqualTo(Date value) {
            addCriterion("receive_end_time =", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeNotEqualTo(Date value) {
            addCriterion("receive_end_time <>", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeGreaterThan(Date value) {
            addCriterion("receive_end_time >", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("receive_end_time >=", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeLessThan(Date value) {
            addCriterion("receive_end_time <", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("receive_end_time <=", value, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeIn(List<Date> values) {
            addCriterion("receive_end_time in", values, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeNotIn(List<Date> values) {
            addCriterion("receive_end_time not in", values, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeBetween(Date value1, Date value2) {
            addCriterion("receive_end_time between", value1, value2, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andReceiveEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("receive_end_time not between", value1, value2, "receiveEndTime");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayIsNull() {
            addCriterion("get_limit_day is null");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayIsNotNull() {
            addCriterion("get_limit_day is not null");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayEqualTo(Integer value) {
            addCriterion("get_limit_day =", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayNotEqualTo(Integer value) {
            addCriterion("get_limit_day <>", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayGreaterThan(Integer value) {
            addCriterion("get_limit_day >", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("get_limit_day >=", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayLessThan(Integer value) {
            addCriterion("get_limit_day <", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayLessThanOrEqualTo(Integer value) {
            addCriterion("get_limit_day <=", value, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayIn(List<Integer> values) {
            addCriterion("get_limit_day in", values, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayNotIn(List<Integer> values) {
            addCriterion("get_limit_day not in", values, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayBetween(Integer value1, Integer value2) {
            addCriterion("get_limit_day between", value1, value2, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitDayNotBetween(Integer value1, Integer value2) {
            addCriterion("get_limit_day not between", value1, value2, "getLimitDay");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalIsNull() {
            addCriterion("get_limit_total is null");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalIsNotNull() {
            addCriterion("get_limit_total is not null");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalEqualTo(Integer value) {
            addCriterion("get_limit_total =", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalNotEqualTo(Integer value) {
            addCriterion("get_limit_total <>", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalGreaterThan(Integer value) {
            addCriterion("get_limit_total >", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("get_limit_total >=", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalLessThan(Integer value) {
            addCriterion("get_limit_total <", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalLessThanOrEqualTo(Integer value) {
            addCriterion("get_limit_total <=", value, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalIn(List<Integer> values) {
            addCriterion("get_limit_total in", values, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalNotIn(List<Integer> values) {
            addCriterion("get_limit_total not in", values, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalBetween(Integer value1, Integer value2) {
            addCriterion("get_limit_total between", value1, value2, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andGetLimitTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("get_limit_total not between", value1, value2, "getLimitTotal");
            return (Criteria) this;
        }

        public Criteria andApplyMemoIsNull() {
            addCriterion("apply_memo is null");
            return (Criteria) this;
        }

        public Criteria andApplyMemoIsNotNull() {
            addCriterion("apply_memo is not null");
            return (Criteria) this;
        }

        public Criteria andApplyMemoEqualTo(String value) {
            addCriterion("apply_memo =", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoNotEqualTo(String value) {
            addCriterion("apply_memo <>", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoGreaterThan(String value) {
            addCriterion("apply_memo >", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoGreaterThanOrEqualTo(String value) {
            addCriterion("apply_memo >=", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoLessThan(String value) {
            addCriterion("apply_memo <", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoLessThanOrEqualTo(String value) {
            addCriterion("apply_memo <=", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoLike(String value) {
            addCriterion("apply_memo like", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoNotLike(String value) {
            addCriterion("apply_memo not like", value, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoIn(List<String> values) {
            addCriterion("apply_memo in", values, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoNotIn(List<String> values) {
            addCriterion("apply_memo not in", values, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoBetween(String value1, String value2) {
            addCriterion("apply_memo between", value1, value2, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andApplyMemoNotBetween(String value1, String value2) {
            addCriterion("apply_memo not between", value1, value2, "applyMemo");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andApplicantIdIsNull() {
            addCriterion("applicant_id is null");
            return (Criteria) this;
        }

        public Criteria andApplicantIdIsNotNull() {
            addCriterion("applicant_id is not null");
            return (Criteria) this;
        }

        public Criteria andApplicantIdEqualTo(Long value) {
            addCriterion("applicant_id =", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdNotEqualTo(Long value) {
            addCriterion("applicant_id <>", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdGreaterThan(Long value) {
            addCriterion("applicant_id >", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdGreaterThanOrEqualTo(Long value) {
            addCriterion("applicant_id >=", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdLessThan(Long value) {
            addCriterion("applicant_id <", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdLessThanOrEqualTo(Long value) {
            addCriterion("applicant_id <=", value, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdIn(List<Long> values) {
            addCriterion("applicant_id in", values, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdNotIn(List<Long> values) {
            addCriterion("applicant_id not in", values, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdBetween(Long value1, Long value2) {
            addCriterion("applicant_id between", value1, value2, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantIdNotBetween(Long value1, Long value2) {
            addCriterion("applicant_id not between", value1, value2, "applicantId");
            return (Criteria) this;
        }

        public Criteria andApplicantNameIsNull() {
            addCriterion("applicant_name is null");
            return (Criteria) this;
        }

        public Criteria andApplicantNameIsNotNull() {
            addCriterion("applicant_name is not null");
            return (Criteria) this;
        }

        public Criteria andApplicantNameEqualTo(String value) {
            addCriterion("applicant_name =", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameNotEqualTo(String value) {
            addCriterion("applicant_name <>", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameGreaterThan(String value) {
            addCriterion("applicant_name >", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameGreaterThanOrEqualTo(String value) {
            addCriterion("applicant_name >=", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameLessThan(String value) {
            addCriterion("applicant_name <", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameLessThanOrEqualTo(String value) {
            addCriterion("applicant_name <=", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameLike(String value) {
            addCriterion("applicant_name like", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameNotLike(String value) {
            addCriterion("applicant_name not like", value, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameIn(List<String> values) {
            addCriterion("applicant_name in", values, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameNotIn(List<String> values) {
            addCriterion("applicant_name not in", values, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameBetween(String value1, String value2) {
            addCriterion("applicant_name between", value1, value2, "applicantName");
            return (Criteria) this;
        }

        public Criteria andApplicantNameNotBetween(String value1, String value2) {
            addCriterion("applicant_name not between", value1, value2, "applicantName");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsIsNull() {
            addCriterion("third_store_ids is null");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsIsNotNull() {
            addCriterion("third_store_ids is not null");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsEqualTo(String value) {
            addCriterion("third_store_ids =", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsNotEqualTo(String value) {
            addCriterion("third_store_ids <>", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsGreaterThan(String value) {
            addCriterion("third_store_ids >", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsGreaterThanOrEqualTo(String value) {
            addCriterion("third_store_ids >=", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsLessThan(String value) {
            addCriterion("third_store_ids <", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsLessThanOrEqualTo(String value) {
            addCriterion("third_store_ids <=", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsLike(String value) {
            addCriterion("third_store_ids like", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsNotLike(String value) {
            addCriterion("third_store_ids not like", value, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsIn(List<String> values) {
            addCriterion("third_store_ids in", values, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsNotIn(List<String> values) {
            addCriterion("third_store_ids not in", values, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsBetween(String value1, String value2) {
            addCriterion("third_store_ids between", value1, value2, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreIdsNotBetween(String value1, String value2) {
            addCriterion("third_store_ids not between", value1, value2, "thirdStoreIds");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesIsNull() {
            addCriterion("third_store_names is null");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesIsNotNull() {
            addCriterion("third_store_names is not null");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesEqualTo(String value) {
            addCriterion("third_store_names =", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesNotEqualTo(String value) {
            addCriterion("third_store_names <>", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesGreaterThan(String value) {
            addCriterion("third_store_names >", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesGreaterThanOrEqualTo(String value) {
            addCriterion("third_store_names >=", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesLessThan(String value) {
            addCriterion("third_store_names <", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesLessThanOrEqualTo(String value) {
            addCriterion("third_store_names <=", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesLike(String value) {
            addCriterion("third_store_names like", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesNotLike(String value) {
            addCriterion("third_store_names not like", value, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesIn(List<String> values) {
            addCriterion("third_store_names in", values, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesNotIn(List<String> values) {
            addCriterion("third_store_names not in", values, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesBetween(String value1, String value2) {
            addCriterion("third_store_names between", value1, value2, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andThirdStoreNamesNotBetween(String value1, String value2) {
            addCriterion("third_store_names not between", value1, value2, "thirdStoreNames");
            return (Criteria) this;
        }

        public Criteria andStoreIdsIsNull() {
            addCriterion("store_ids is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdsIsNotNull() {
            addCriterion("store_ids is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdsEqualTo(String value) {
            addCriterion("store_ids =", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsNotEqualTo(String value) {
            addCriterion("store_ids <>", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsGreaterThan(String value) {
            addCriterion("store_ids >", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsGreaterThanOrEqualTo(String value) {
            addCriterion("store_ids >=", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsLessThan(String value) {
            addCriterion("store_ids <", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsLessThanOrEqualTo(String value) {
            addCriterion("store_ids <=", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsLike(String value) {
            addCriterion("store_ids like", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsNotLike(String value) {
            addCriterion("store_ids not like", value, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsIn(List<String> values) {
            addCriterion("store_ids in", values, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsNotIn(List<String> values) {
            addCriterion("store_ids not in", values, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsBetween(String value1, String value2) {
            addCriterion("store_ids between", value1, value2, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreIdsNotBetween(String value1, String value2) {
            addCriterion("store_ids not between", value1, value2, "storeIds");
            return (Criteria) this;
        }

        public Criteria andStoreNamesIsNull() {
            addCriterion("store_names is null");
            return (Criteria) this;
        }

        public Criteria andStoreNamesIsNotNull() {
            addCriterion("store_names is not null");
            return (Criteria) this;
        }

        public Criteria andStoreNamesEqualTo(String value) {
            addCriterion("store_names =", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesNotEqualTo(String value) {
            addCriterion("store_names <>", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesGreaterThan(String value) {
            addCriterion("store_names >", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesGreaterThanOrEqualTo(String value) {
            addCriterion("store_names >=", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesLessThan(String value) {
            addCriterion("store_names <", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesLessThanOrEqualTo(String value) {
            addCriterion("store_names <=", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesLike(String value) {
            addCriterion("store_names like", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesNotLike(String value) {
            addCriterion("store_names not like", value, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesIn(List<String> values) {
            addCriterion("store_names in", values, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesNotIn(List<String> values) {
            addCriterion("store_names not in", values, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesBetween(String value1, String value2) {
            addCriterion("store_names between", value1, value2, "storeNames");
            return (Criteria) this;
        }

        public Criteria andStoreNamesNotBetween(String value1, String value2) {
            addCriterion("store_names not between", value1, value2, "storeNames");
            return (Criteria) this;
        }

        public Criteria andBannerUrlIsNull() {
            addCriterion("banner_url is null");
            return (Criteria) this;
        }

        public Criteria andBannerUrlIsNotNull() {
            addCriterion("banner_url is not null");
            return (Criteria) this;
        }

        public Criteria andBannerUrlEqualTo(String value) {
            addCriterion("banner_url =", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlNotEqualTo(String value) {
            addCriterion("banner_url <>", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlGreaterThan(String value) {
            addCriterion("banner_url >", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlGreaterThanOrEqualTo(String value) {
            addCriterion("banner_url >=", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlLessThan(String value) {
            addCriterion("banner_url <", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlLessThanOrEqualTo(String value) {
            addCriterion("banner_url <=", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlLike(String value) {
            addCriterion("banner_url like", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlNotLike(String value) {
            addCriterion("banner_url not like", value, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlIn(List<String> values) {
            addCriterion("banner_url in", values, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlNotIn(List<String> values) {
            addCriterion("banner_url not in", values, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlBetween(String value1, String value2) {
            addCriterion("banner_url between", value1, value2, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andBannerUrlNotBetween(String value1, String value2) {
            addCriterion("banner_url not between", value1, value2, "bannerUrl");
            return (Criteria) this;
        }

        public Criteria andSellEnableIsNull() {
            addCriterion("sell_enable is null");
            return (Criteria) this;
        }

        public Criteria andSellEnableIsNotNull() {
            addCriterion("sell_enable is not null");
            return (Criteria) this;
        }

        public Criteria andSellEnableEqualTo(Integer value) {
            addCriterion("sell_enable =", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableNotEqualTo(Integer value) {
            addCriterion("sell_enable <>", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableGreaterThan(Integer value) {
            addCriterion("sell_enable >", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableGreaterThanOrEqualTo(Integer value) {
            addCriterion("sell_enable >=", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableLessThan(Integer value) {
            addCriterion("sell_enable <", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableLessThanOrEqualTo(Integer value) {
            addCriterion("sell_enable <=", value, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableIn(List<Integer> values) {
            addCriterion("sell_enable in", values, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableNotIn(List<Integer> values) {
            addCriterion("sell_enable not in", values, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableBetween(Integer value1, Integer value2) {
            addCriterion("sell_enable between", value1, value2, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellEnableNotBetween(Integer value1, Integer value2) {
            addCriterion("sell_enable not between", value1, value2, "sellEnable");
            return (Criteria) this;
        }

        public Criteria andSellPriceIsNull() {
            addCriterion("sell_price is null");
            return (Criteria) this;
        }

        public Criteria andSellPriceIsNotNull() {
            addCriterion("sell_price is not null");
            return (Criteria) this;
        }

        public Criteria andSellPriceEqualTo(BigDecimal value) {
            addCriterion("sell_price =", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceNotEqualTo(BigDecimal value) {
            addCriterion("sell_price <>", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceGreaterThan(BigDecimal value) {
            addCriterion("sell_price >", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_price >=", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceLessThan(BigDecimal value) {
            addCriterion("sell_price <", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_price <=", value, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceIn(List<BigDecimal> values) {
            addCriterion("sell_price in", values, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceNotIn(List<BigDecimal> values) {
            addCriterion("sell_price not in", values, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_price between", value1, value2, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_price not between", value1, value2, "sellPrice");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsIsNull() {
            addCriterion("sell_store_ids is null");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsIsNotNull() {
            addCriterion("sell_store_ids is not null");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsEqualTo(String value) {
            addCriterion("sell_store_ids =", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsNotEqualTo(String value) {
            addCriterion("sell_store_ids <>", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsGreaterThan(String value) {
            addCriterion("sell_store_ids >", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsGreaterThanOrEqualTo(String value) {
            addCriterion("sell_store_ids >=", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsLessThan(String value) {
            addCriterion("sell_store_ids <", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsLessThanOrEqualTo(String value) {
            addCriterion("sell_store_ids <=", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsLike(String value) {
            addCriterion("sell_store_ids like", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsNotLike(String value) {
            addCriterion("sell_store_ids not like", value, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsIn(List<String> values) {
            addCriterion("sell_store_ids in", values, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsNotIn(List<String> values) {
            addCriterion("sell_store_ids not in", values, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsBetween(String value1, String value2) {
            addCriterion("sell_store_ids between", value1, value2, "sellStoreIds");
            return (Criteria) this;
        }

        public Criteria andSellStoreIdsNotBetween(String value1, String value2) {
            addCriterion("sell_store_ids not between", value1, value2, "sellStoreIds");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}